import { GetServerSidePropsContext } from "next";

export default function getAccessToken( ctx: GetServerSidePropsContext){
    const access_token =   ctx.req.cookies.access_token
    if(access_token){
        return access_token
    }else {
        return ''
    }
}